#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    this->setCursor(Qt::BlankCursor);//隐藏鼠标指针
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_pushButton_OK_clicked()
{
    // TODO 提交信息
    QMessageBox::information(this, "提示", "提交成功，请耐心等待工作人员上门维修。");
    this->close();
}

void MainWindow::on_pushButton_close_clicked()
{
    this->close();
}
